---
id: 660f383d4c772c12ff59904b
title: Step 63
challengeType: 1
dashedName: step-63
---

# --description--

You can pass full expressions as an argument. The function will receive the result of evaluating that expression. For example, these two function calls would yield the same result:

```js
test(2 * 3 + 1);
test(7);
```

Looking at the pattern again:

```md
··#··
·###·
#####
```

Update the `character` value to be repeated `2 * rowNumber - 1` times.

Open up the console again to see the updated result.

# --hints--

Your function should pass `2 * rowNumber - 1` to your `.repeat()` call.

```js
assert.equal(padRow(4, 5), " ####### ");
```

# --seed--

## --seed-contents--

```js
const character = "#";
const count = 8;
const rows = [];

--fcc-editable-region--
function padRow(rowNumber, rowCount) {
  return " ".repeat(rowCount - rowNumber) + character.repeat(rowNumber) + " ".repeat(rowCount - rowNumber);
}
--fcc-editable-region--

for (let i = 0; i < count; i = i + 1) {
  rows.push(padRow(i + 1, count));
}

let result = ""

for (const row of rows) {
  result = result + "\n" + row;
}

console.log(result);
```
